package cn.seecoder.courselearning.dto.course;

import lombok.Getter;

import java.util.Map;

@Getter
public class CourseTestFinishDTO {

    private final int testId;

    private final int userId;

    private final Map<Integer, String> questionIdAnswers;

    private final int score;

    private final boolean isFinished;


    public CourseTestFinishDTO(int testId, int userId, Map<Integer, String> questionIdAnswers, int score, boolean isFinished) {
        this.testId = testId;
        this.userId = userId;
        this.questionIdAnswers = questionIdAnswers;
        this.score = score;
        this.isFinished = isFinished;
    }

}
